package com.globalresources.commons;
/**
 * @author aaron.lu(luzhiyuan) E-mail:atyuan.lu@gmail.com
 * @since 创建时间：Jul 7, 2009 3:21:59 AM
 */
public class StringHelper {
	
	/** 
	 * 判断是否为空
	*@author aaron.lu(luzhiyuan)
	*@param str
	*@return
	 */
	static public boolean isNotEmpty(String str){
		boolean result = false;
		if (null!= str && str.length() > 0 && !str.equals("")) {
			result = true;
		}
		return result;
	}
	
	/**
	 * 分隔字符串
	*@author aaron.lu(luzhiyuan)
	*@param source
	*@param split
	*@return
	 */
	static public String[] split(String source, String split){
		return source.split(split);
	}
}
